import {
  RaceGroupEnum,
  RaceSystemEnum,
  RaceTypeEnum,
  TeamMemberRoleEnum,
  RegisterInfoEnum,
  RaceStatisticsEnum,
  RankRuleEnum,
  TeamInfoEnum,
  TeamAttachmentEnum,
} from "../config/enum"

/**
 * 赛制组别
 * @returns 返回模拟数据
 */
export const groupList = [
  {
    name: "青年赛事",
    id: RaceGroupEnum.YOUTH,
  },
  {
    name: "成人赛事",
    id: RaceGroupEnum.ADULT,
  },
];

/**
 * 赛制选择
 * @returns 返回模拟数据
 */
export const competitionList = [
  {
    name: "五人制",
    id: RaceSystemEnum.FIVE,
  },
  {
    name: "八人制",
    id: RaceSystemEnum.EIGHT,
  },
  {
    name: "十一人制",
    id: RaceSystemEnum.ELEVEN,
  },
];

/**
 * 赛制类型
 * @returns 返回模拟数据
 */
export const competitionTypeList = [
  {
    name: "联赛",
    id: RaceTypeEnum.LEAGUE,
  },
  {
    name: "杯赛",
    id: RaceTypeEnum.CUP,
  },
];


/**
 * 比赛人员角色
 * @returns 返回模拟数据
 */
export const rulesList = [
  {
    name: "球员",
    value: TeamMemberRoleEnum.PLAYER
  },
  {
    name: "领队",
    value: TeamMemberRoleEnum.CAPTAIN
  },
  {
    name: "主教练",
    value: TeamMemberRoleEnum.HEAD_COACH
  },
  {
    name: "助理教练",
    value: TeamMemberRoleEnum.ASSISTANT_COACH
  },
  {
    name: "队务",
    value: TeamMemberRoleEnum.TEAM_AFFAIRS
  },
  {
    name: "队医",
    value: TeamMemberRoleEnum.TEAM_DOCTOR
  },
  {
    name: "翻译",
    value: TeamMemberRoleEnum.TRANSLATOR
  },
  {
    name: "技术分析员",
    value: TeamMemberRoleEnum.TECHNICAL_ANALYST
  }
];


/**
 * 比赛人员配置信息 -- 球员
 * @returns 返回模拟数据
 */
export const enrollList = [
  {
    name: "姓名",
    value: RegisterInfoEnum.ID_NAME
  },
  {
    name: "性别",
    value: RegisterInfoEnum.GENDER
  },
  {
    name: "国籍",
    value: RegisterInfoEnum.NATIONALITY
  },
  {
    name: "证件号码",
    value: RegisterInfoEnum.ID_NUMBER
  },
  {
    name: "证件照",
    value: RegisterInfoEnum.ID_PHOTO
  },
  {
    name: "联系方式",
    value: RegisterInfoEnum.PHONE_NUMBER
  },
  {
    name: "球员号码",
    value: RegisterInfoEnum.PLAYER_NUMBER
  },
  {
    name: "身高",
    value: RegisterInfoEnum.HEIGHT
  },
  {
    name: "体重",
    value: RegisterInfoEnum.WEIGHT
  },
  {
    name: "证件正反面",
    value: RegisterInfoEnum.ID_CARD_PHOTO
  },
  {
    name: "户口本页",
    value: RegisterInfoEnum.ACCOUNT_PAGE_PHOTO
  },
  {
    name: "所在学校/工作单位",
    value: RegisterInfoEnum.CURRENT_EMPLOYER
  },
  {
    name: "职位",
    value: RegisterInfoEnum.POSITION
  },
  {
    name: "学籍号",
    value: RegisterInfoEnum.STUDENT_NUMBER
  },
  {
    name: "体检证明",
    value: RegisterInfoEnum.HEALTH_CERTIFICATE
  }
];

/**
 * 比赛人员配置信息 -- 其他
 * @returns 返回模拟数据
 */
export const enrollOtherList = [
  {
    name: "姓名",
    value: RegisterInfoEnum.ID_NAME
  },
  {
    name: "性别",
    value: RegisterInfoEnum.GENDER
  },
  {
    name: "国籍",
    value: RegisterInfoEnum.NATIONALITY
  },
  {
    name: "证件号码",
    value: RegisterInfoEnum.ID_NUMBER
  },
  {
    name: "证件照",
    value: RegisterInfoEnum.ID_PHOTO
  },
  {
    name: "联系方式",
    value: RegisterInfoEnum.PHONE_NUMBER
  },
  {
    name: "身高",
    value: RegisterInfoEnum.HEIGHT
  },
  {
    name: "体重",
    value: RegisterInfoEnum.WEIGHT
  },
  {
    name: "证件正反面",
    value: RegisterInfoEnum.ID_CARD_PHOTO
  },
  {
    name: "户口本页",
    value: RegisterInfoEnum.ACCOUNT_PAGE_PHOTO
  },
  {
    name: "所在学校/工作单位",
    value: RegisterInfoEnum.CURRENT_EMPLOYER
  },
  {
    name: "职位",
    value: RegisterInfoEnum.POSITION
  },
  {
    name: "教练证",
    value: RegisterInfoEnum.COACH_CARD_PHOTO
  },
];

/**
 * 数据统计
 * @returns 返回模拟数据 "积分榜", "射手榜", "球队简介", "红黄牌榜", "助攻榜"
 */
export const dataList = [
  {
    name: "积分榜",
    value: RaceStatisticsEnum.SCOREBOARD_LIST
  },
  {
    name: "射手榜",
    value: RaceStatisticsEnum.TOP_SCORER_LIST
  },
  {
    name: "红黄牌榜",
    value: RaceStatisticsEnum.PENALTY_LIST
  },
  {
    name: "助攻榜",
    value: RaceStatisticsEnum.ASSIST_LIST
  },
];


/**
 * 规则设置
 * @returns 返回模拟数据 "球队积分", "总净胜球数量", "相互之间胜负关系（同积分）", "总进球数", "相互之前进球数量", "黄牌数量", "红牌数量", "相互之间净胜球数量"
 */
export const ruleSetList = [
  {
    name: "球队积分",
    value: RankRuleEnum.TEAM_SCORES
  },
  {
    name: "总净胜球数量",
    value: RankRuleEnum.TOTAL_GOAL_DIFFERENCE
  },
  {
    name: "总进球数量",
    value: RankRuleEnum.TOTAL_GOAL
  },
  {
    name: "相互之间胜负关系（同积分）",
    value: RankRuleEnum.INTER_OUTCOME
  },
  {
    name: "相互之间净胜球数量",
    value: RankRuleEnum.INTER_TOTAL_GOAL_DIFFERENCE
  },
  {
    name: "相互之间进球数量",
    value: RankRuleEnum.INTER_TOTAL_GOAL
  },
  {
    name: "红牌数",
    value: RankRuleEnum.RED_COUNT
  },
  {
    name: "黄牌数",
    value: RankRuleEnum.YELLOW_COUNT
  },
];

/**
 * 球队信息
 * @returns 返回模拟数据 "球队名称", "球队简称", "球队简介", "球队logo", "球队合照"
 */
export const teamInfoList = [
  {
    name: "球队名称",
    value: TeamInfoEnum.TEAM_NAME
  },
  {
    name: "球队logo",
    value: TeamInfoEnum.TEAM_LOGO
  },
  {
    name: "球队简介",
    value: TeamInfoEnum.TEAM_BRIEF
  },
  {
    name: "球队简称",
    value: TeamInfoEnum.TEAM_SHORT_NAME
  },
  {
    name: "球队合照",
    value: TeamInfoEnum.TEAM_PHOTO
  },
];

/**
 * 球队附件
 * @returns 返回模拟数据 "参赛承诺书", "参赛保险"
 */
export const teamAttachmentList = [
  {
    name: "参赛承诺书",
    value: TeamAttachmentEnum.ENTRY_COMMITMENT
  },
  {
    name: "参赛保险",
    value: TeamAttachmentEnum.ENTRY_INSURANCE
  },
];

